//
//  AppDelegate+DeviceToken.swift
//  YPWatermarkCamera
//
//  Created by 赵新 on 2022/8/8.
//

import Foundation

extension AppDelegate {
    func application(_ application: UIApplication, didRegisterForRemoteNotificationsWithDeviceToken deviceToken: Data) {
        let deviceTokenString = deviceToken.map { String(format: "%02hhx", $0) }.joined()
        appDelegateLog("设备Token：\(deviceTokenString)")
        JPushRegisterDeviceToken(deviceToken: deviceToken)
    }
}
